package com.admin.boot.modules.online.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @version v3.0
 * @Description: TODO
 * @author: jeecg-boot
 * @date: 2024-01-10
 */
@Data
public class OnlineTable {

    private String id;

   //表名
   private String tableName;

   //表描述
   private String tableDescribe;

   //同步状态 1未同步 2已同步
   private Integer syncStatus;

   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private Date createTime;

   //版本
   private Integer version;


   @TableField(exist = false)
   private List<OnlineTableField> tableFields;

}
